package com.vincent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("department")
public class Department implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField(value = "parent_id")
    private Integer parentId;

    @TableField(value = "dep_path")
    private Integer depPath;

    private Integer enabled;

}
